import { postRequest, getRequest } from '/@/lib/axios';

export const prfordApi = {
  queryPage: (param) => {
    return postRequest('/prford/queryPage', param);
  },

  add: (param) => {
    return postRequest('/prford/add', param);
  },

  update: (param) => {
    return postRequest('/prford/update', param);
  },

  delete: (id) => {
    return getRequest(`/prford/delete/${id}`);
  },

  batchDelete: (idList) => {
    return postRequest('/prford/batchDelete', idList);
  },
  info: (id) => {
    return getRequest(`/prford/info/${id}`);
  },

  infoUnexecute: (id) => {
    return getRequest(`/prford/infoUnexecute/${id}`);
  },

};
